// vue.config.js
module.exports = {
  css: {
    loaderOptions: {
      less: {
        javascriptEnabled: true, // 使用less 3.0+ 需设置
      },
      scss: {
        prependData: `
        @import "@/style/settings/var.scss";
        @import "@/style/tools/_sassMagic.scss";
        `
      },
    }
  }
}
